<!DOCTYPE html>
<html>
	<head>
		<title>TODO supply a title</title>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
	</head>
	<body>
		<{assign var=user value=$bookingData.USER_INFO}>
		<{assign var=techData value=$bookingData.TDATA}>
		<p><u>Hi <{$user.FIRST_NAME|utf8_escape_html}> <{$user.LAST_NAME|utf8_escape_html}>,</u></p>
		<p>Thank you for booking appointment with us!</p>
		<p>Your booking has been accepted:</p>
		<p>Appointment Details:</p>
		<{foreach from=$techData key=techID item=data}>
		<{assign var=techTitle value=$data.TITLE}>
		<{assign var=sData value=$data.SDATA}>
		<table>
			<tr>
				<td>For:</td>
				<td>
					<{foreach from=$sData item=service}>
						<p><{$service.TITLE}></p>
					<{/foreach}>
				</td>
			</tr>
			<tr>
				<td>Start:</td>
				<td><{$data.BOOKING_DATE|date_format:"%d/%m/%Y %H:%M"}></td>
			</tr>
		</table>
		<{/foreach}>
		<p>At <{$smarty.const.SHOP_NAME|utf8_escape_html}></p>
		<p>
			<{$smarty.const.SHOP_ADDRESS|utf8_escape_html}></p>
		<p>
			Many thanks,</p>
		<p>
			<{$smarty.const.SHOP_NAME|utf8_escape_html}></p>
	</body>
</html>
